Eventin\Blocks\BlockTypes\AbstractBlock S

Total Complexity 37
Dependencies 3
Dependents 0
Total lines 339
Lines of code 127
Logical lines of code 58
Comment lines 164
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
register_block_type_assets()
S
60 3 14
is_editor()
S
78 3 3
get_block_base_plugin_dir()
S
63 3 10
register_block_type()
S
60 2 14
include_template()
S
65 2 9
enqueue_scripts()
S
73 2 5
get_block_type_editor_script()
S
66 2 8
get_block_type_script()
S
66 2 8
get_metadata_path()
S
67 2 8
parse_render_callback_attributes()
S
78 2 3
get_block_type_attributes()
S
82 1 3
register_style()
S
79 1 3
get_block_asset_build_path()
S
80 1 3
render()
S
82 1 3
__construct()
S
82 1 3
get_block_type_supports()
S
82 1 3
initialize()
S
78 1 4
get_block_type_style()
S
73 1 4
get_block_type_editor_style()
S
82 1 3
get_block_type_render_callback()
S
80 1 3
get_block_type()
S
80 1 3
register_script()
S
79 1 3
get_full_block_name()
S
80 1 3
render_callback()
S
75 1 4